﻿$(document).ready(function () {
    if (AstroHelpers.session('registration-email') != '') {
        $('#notice').html('<h3>Thank you for registering. Your account has been successfully created.</h3><p>We will direct your CV to the right individual. If you have the necessary skills and experience for any of our current roles, we will contact you within 5 days to discuss your experience further. If there is nothing suitable currently, we will keep your details on file for future reference and contact you when more appropriate roles arise.</p>');
        $('#notice').show();
    }

    if (AstroHelpers.session('update-email') != '') {
        $('#notice').text('User successfully updated');
        $('#notice').show();
    }

    if (AstroHelpers.session('signin-successfull') != '') {
        $('#notice').text('Signed in successfully.');
        $('#notice').show();
    }

    if (AstroHelpers.session('change-password-successfull') != '') {
        $('#notice').text('Password successfully updated');
        $('#notice').show();
    }
});